<template>
  <div id="App">
      <el-input-number v-model="num" @change="handleChange" :min="0" :max="10" label="描述文字"></el-input-number>

      <p>
        <el-input-number v-model="num" :disabled="true" size='medium'></el-input-number>
      </p>
        <el-input-number v-model="num1" :precision='2' :step='0.1' :max='1' size='small'></el-input-number>
        <p>
            <el-input-number v-model="num2" :step='3' size='mini' controls-position='right'></el-input-number>
        </p>
  </div>
</template>

<script>
export default {
    name : 'App',
    data(){
        return {
            num: 0,
            num1:0,
            num2:0
        };
    },
    methods:{
        handleChange(value){
            console.log(value);
        }
    }
}
</script>

<style>

</style>